package com.bonc.ioc.service;

import com.bonc.ioc.base.page.PageData;
import com.bonc.ioc.base.page.PageResult;
import com.bonc.ioc.vo.KnowledgesVo;
import org.springframework.validation.BindException;

import java.util.List;
import java.util.Map;

/**
 * @version 1.0
 * @description:
 * @author: wangqinglin
 * @date: 2021/3/18 11:06
 * @change : 2021/3/18 11:06 by q8541q@163.com  for init
 */
public interface KnowledgesService {


    int deleteByPrimaryKey(String id);

    int save(KnowledgesVo record);

    KnowledgesVo selectByPrimaryKey(Long id);

    /**
     * 获取标准分页数据
     *
     * @param pageData
     * @return
     */
    PageResult selectStandardInfoByPage(PageData pageData) throws BindException;

    List<Map> getKnowledgeListInfos();
}
